package com.cxhc.cockpit;

import com.cxhc.app.api.mapper.CmUserCreditScoreLogStructMapper;
import com.cxhc.app.api.vo.CmUserCreditScoreLogVo;
import com.cxhc.common.core.controller.BaseController;
import com.cxhc.common.core.page.TableDataInfo;
import com.cxhc.system.domain.cockpit.CmUserCreditScoreLog;
import com.cxhc.system.service.app.CmUserCreditScoreLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 楼宇信息Controller
 * 
 * @author Dhq
 * @date 2024-08-14
 */
@RestController
@RequestMapping("/cockpit/cmUserCreditScoreLog")
public class ApiCmUserCreditScoreLog extends BaseController
{
    @Autowired
    private CmUserCreditScoreLogService cmUserCreditScoreLogService;


    /**
     * 查询楼宇信息列表
     */
    @GetMapping("/list")
    public TableDataInfo listForCockpit(CmUserCreditScoreLogVo cmUserCreditScoreLogVo)
    {
        CmUserCreditScoreLog cmUserCreditScoreLog = CmUserCreditScoreLogStructMapper.INSTANCE.CmUserCreditScoreLogVoToCmUserCreditScoreLog(cmUserCreditScoreLogVo);
        startPage();
        return getDataTable(cmUserCreditScoreLogService.selectCmAreaInfoList(cmUserCreditScoreLog));
    }

}
